<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        // 把暴露出来的对象，以e来重命名
        import * as e from "./01export.js";

        console.log(e.people.name);
        console.log(e.people.age);
        console.log(e.people.sex);

        console.log(e.name);
        console.log(e.age);
        console.log(e.sex);

        e.showName();
    </script>
</body>
</html>